package util.AST.Statement;

import checker.SemanticException;
import checker.Visitor;
import util.AST.AsgComd.AsgComd;
import util.AST.Terminal.ID;

public class AssignStatement extends Statement{

	private ID id;
	private AsgComd assignComand;
	
	public AssignStatement(ID id, AsgComd assignComand) {
		this.id = id;
		this.assignComand = assignComand;
	}

	public ID getId() {
		return id;
	}

	public AsgComd getAssignComand() {
		return assignComand;
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Object visit(Visitor v, Object o) throws SemanticException {
		// TODO Auto-generated method stub
		return v.visitAssignStatement(this, o);
	}

}
